<template>
  <el-table
      :data="tableData"
      border
      :height="tableHeight-250"
      style="width: 100%">
    <el-table-column
        prop="date"
        label="序号"
        width="50">
    </el-table-column>
    <el-table-column
        prop="name"
        label="字典名称"
    >
    </el-table-column>
    <el-table-column
        prop="name1"
        label="字典编号"
    >
    </el-table-column>
    <el-table-column
        label="操作"
        width="100">
      <template #default="scope">
        <el-button @click="handleClick(scope.row)" type="text" size="small">查看</el-button>
        <el-button type="text" size="small">编辑</el-button>
      </template>
    </el-table-column>
  </el-table>
  <el-pagination
      background
      @size-change="handleSizeChange"
      @current-change="handleCurrentChange"
      :current-page="queryForm.current"
      :page-sizes="[10, 30, 50, 100]"
      :page-size="queryForm.size"
      layout="total, sizes, prev, pager, next"
      :total="queryForm.total">
  </el-pagination>
</template>

<script>
export default {
  name: "dict-code-son-table"
}
</script>

<style scoped>

</style>